package com.orphan.marketBack.service.impl;

import com.orphan.marketBack.dao.GoodsMapper;
import com.orphan.marketBack.po.Goods;
import com.orphan.marketBack.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServiceImpl implements GoodsService {
    @Autowired
    private GoodsMapper goodsMapper;


    @Override
    public Goods selectGoods(String stockId) {
        Goods goods = goodsMapper.selectGoods(stockId);
        return goods;
    }
}
